package topo.action;

import java.awt.event.ActionEvent;
import javax.swing.AbstractAction;
import topo.MainFrame;
import topo.dialog.ProxyDialog;
import topo.utils.DialogTools;

public class Proxy extends AbstractAction {
    public Proxy() {
        super("添加分布式SNMP设备");
    }

    public void actionPerformed(ActionEvent e) {
        ProxyDialog dialog = new ProxyDialog(MainFrame.frame);
        dialog.myInit();
        DialogTools.dialogPack(MainFrame.frame, dialog);
    }
}